<template>
   <div>
   <div class="mod-title" clearfix>
     <h2 clearfix>图集</h2>
     <a class="more">全部</a>
   </div>

   <div>
     <ul class="celebrity-list clearfix">
       <li class="celebrity " v-for="item in movie">
         <div><img :src="item.imgUrl" class="img"></div>
         <div><span style="color:#000000">{{item.actorName}}</span></div>
         <div class="role"><span style="color:#000000">{{item.description}}</span>
         </div>
       </li>
     </ul>
   </div>
 </div>
</template>

<script>
  import axios from 'axios'
    export default {
        name: "movieimg",
      data(){
          return{
            movie:[]
          }
      },
      mounted() {
        axios.get('/api/movie.json')
          .then( (resp) => {
            const ssDetail = resp.data
            console.log(ssDetail);
            this.movie = ssDetail
          });
      }

    }
</script>

<style scoped>

  .action-buyBtn .btn.buy {
    margin-top: 10px;
    width: 250px;
    height: 40px;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
    border-radius: 2px;
    padding: 0;
  }

  .clearfix:after{
    clear: both;
  }
  .clearfix:before {
    content: " ";
    display: table;
  }

  html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
  }


  .more {
    float: right;
    cursor: pointer;
    font-size: 14px;
    color: #999;
    padding-right: 14px;
    background: url() no-repeat 100%;
  }
  .clearfix:before {
    content: " ";
    display: table;
  }
  .clearfix:after {
    clear: both;
  }
  .clearfix:after
  .clearfix:before {
    content: " ";
    display: table;
  }
  li{
    text-align: -webkit-match-parent;
    margin-left: 50px;

    font-size: 15px;
    color: #fff;
  }
  .img {
    width: 126px;
    height: 126px;
    margin-left: 6px;
  }
  .album>div {
    float: left;
    width: 126px;
    height: 126px;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
  }
  .celebrity-list {
    margin-left: -20px;
  }

  .celebrity {
    float: left;
    width: 128px;
    margin-left: 20px;
    margin-bottom: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mod-title h2:before {

    content: "";
    color: #000;
    display: inline-block;
    width: 4px;
    height: 18px;
    margin-right: 6px;
    background-color: #ef4238;
  }
  h2 {
    display: inline-block;
    margin-bottom: 10px;
    padding: 0;
    font-weight: 400;
    font-size: 18px;
    color: #333;
    line-height: 18px;
  }

  celebrity-list {
    margin-left: -20px;
  }
  .celebrity {
    float: left;
    width: 128px;
    margin-left: 20px;
    margin-bottom: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .role {
    display: inline-block;
    width: 128px;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-top: 3px;
    white-space: nowrap;
  }



</style>
